package com.imut.mapper;

import com.imut.entity.Novel;
import com.imut.entity.NovelImage;

import java.util.List;

/**
 * @Author jiangYaPeng
 * @Date 2025-07-08 16:35
 */
public interface NovelMapper {

    List<Novel> selectAll(Novel novel);

    Novel selectById(Long id);

    int insert(Novel novel);

    int update(Novel novel);

    int deleteById(Long id);

    void insertUserFile(NovelImage novelImage);
}
